<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="entity.User" %>
<%
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
    User user = new User();
    user.setPassword("123456");
    user.setN("zhang3");
    request.setAttribute("user.test",user);

    
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<title>Insert title here</title>
</head>
<body>
${requestScope["user.test"]}<br/>
${requestScope["user.test"].n}<br/>

${"中华人民" }<br>
${123456 }<br>
${true}<br>
${3==4||3==3 }<br>

${123=="123" }<br>
3+5=${3+5}<br>
</body>
</html>